package com.java0107;

import java.util.LinkedList;
import java.util.List;

public class LinkedList01 {
    public static void main(String[] args) {
        List<String> list = new LinkedList<>();

        list.add("1");
        list.add("2");
        list.add("3");

        for(String s : list){
            System.out.println(s);
        }
    }
}
